<?php /* Smarty version 2.6.18, created on 2016-11-30 15:47:49
         compiled from duty/m.duty.changeadd.tpl.php */ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="mstatic/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/jquery-ui.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
<title>教师值日调动</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header" style=" width:100%;"> <a class="navbar-brand"  href="javascript:history.go(-1);" style=" width:100%;  padding-right:0px;"> <span class="glyphicon glyphicon-arrow-left white"></span> 
      <!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>--> 
      <span class="white" style="margin-left:10%">教师值日调动</span> <span class="glyphicon glyphicon-user white" style="float:right"></span> </a> </div>
  </div>
  <!-- /.container-fluid --> 
</nav>
<!--头部 end--> 
<!--主体部分-->
<form name="myform" action=""  method="post">
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-top:10px;">
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">地点:</label>
        <div class="col-sm-10">
          <select class="form-control" name="change_area">
			<?php $_from = $this->_tpl_vars['area_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
				<option value="<?php echo $this->_tpl_vars['key']; ?>
"> <?php echo $this->_tpl_vars['key']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?>
		  </select> 
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">星期:</label>
        <div class="col-sm-10">
         <select class="form-control" name="change_week">
			<?php $_from = $this->_tpl_vars['week_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
				<option value="<?php echo $this->_tpl_vars['key']; ?>
"> <?php echo $this->_tpl_vars['value']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?>
	     </select> 
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">时段:</label>
        <div class="col-sm-10">
          <select class="form-control" name="change_section">
				<option value="1"> 上午</option>
				<option value="2"> 下午</option>
		  </select> 
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">开始日期:</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" name="change_start" value="" id="start">
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">调动原因:</label>
        <div class="col-sm-10">
          <textarea rows="2" class="form-control" name="change_note"></textarea>
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">教师姓名:</label>
        <div class="col-sm-10">
          <select class="form-control" name="change_to">
			<?php $_from = $this->_tpl_vars['staff_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
				<option value="<?php echo $this->_tpl_vars['value']['staff_id']; ?>
"> <?php echo $this->_tpl_vars['value']['staff_name']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?>
		  </select> 
        </div>
      </div>
    </div>
		
    <div  class="text-center">
	<input type="hidden" name="change_box" value="<?php echo $this->_tpl_vars['box_id']; ?>
">
	<button type="submit" class="btn btn-primary" style="width:80%">确 定</button>

	</div>
  </div>
  <!--row--> 
  
</div>
<!--container  end--> 
<!--主体部分  end--> 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 

<!--底部end--> 
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script> 
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script> 
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历--> 
<!--日历--> 
<script>
  $(function() {
    $( "#datepicker" ).datepicker({
		 minDate: new Date(1953, 11, 31),  
         maxDate: new Date(2015, 11, 31), 
        changeMonth: true,
        changeYear: true
	  
    });
	
	$( "#datepicker2" ).datepicker({
		 minDate: new Date(1953, 11, 31),  
         maxDate: new Date(2015, 11, 31), 
        changeMonth: true,
        changeYear: true
	  
    });
  });
  </script>
</body>
</html>